package com.wjc.train.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wjc.train.common.entity.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author Guessed
 * @since 2023-09-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sk_token")
public class SkToken extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 日期
     */
    @TableField(value = "train_date")
    private Date trainDate;

    /**
     * 车次编号
     */
    private String trainCode;

    /**
     * 令牌余量
     */
    private Integer tokenCount;


}
